#include <iostream>
using namespace std;

namespace CWARN_MEMBER_INIT_ORDER {
	class C1 {
	public:
		int v;
		C1(int v) { this->v = v; cout << "C1::C1: v is set to " << v << endl; }
	};
	class C2 {
	public:
		C2(const C1& c1) { cout << "C2::C2: c1.v == " << c1.v << endl; }
	};
	class C {
		C2 c2;
		C1 c1;
	public:
		C() : c1(100), c2(c1) {}
	};

	int main() {
		C c;
		return 0;
	}
}